package com.dap.test;
/*package com.test;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;
import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import com.alibaba.dubbo.rpc.protocol.rest.support.ContentType;
import com.dap.param.ControlData;
import com.dap.trans.param.ServiceReverseOutput;
import com.dap.trans.service.ITrans;
import com.dap.trans.service.po.TransBusiInfoPo;
import com.ddm.as.api.sample.IAccountManage;
import com.ddm.as.api.sample.param.OpenAccountInput;
import com.ddm.as.api.sample.param.OpenAccountOutput;
import com.ddm.as.api.sample.param.QueryAccountInput;
import com.ddm.as.api.sample.param.QueryAccounttOutput;
import com.ddm.bs.api.sample.IAccountManageBS;

@Path("/account")
@Consumes({ MediaType.APPLICATION_FORM_URLENCODED })
@Produces({ ContentType.APPLICATION_JSON_UTF_8, ContentType.TEXT_XML_UTF_8 })
@Service("accountManager")
public class AccountManagerImpl implements IAccountManage, ITrans {
	final static Logger LOGGER = LoggerFactory.getLogger(AccountManagerImpl.class);

	@Resource
	private IAccountManageBS accountManageBS;

	@Override
	@GET
	@Path("openAccount")
	public OpenAccountOutput openAccount(OpenAccountInput openAccountInput) {
		return accountManageBS.openAccount(openAccountInput);
	}

	@Override
	public List<QueryAccounttOutput> query(QueryAccountInput input) {

		return accountManageBS.query(input);

	}

	@Override
	public ServiceReverseOutput doReverse(String orgTarnSeq, ControlData controlData, Map<String, TransBusiInfoPo> transBoMap) {
		LOGGER.error("{}冲正", orgTarnSeq);
		return null;
	}

	@Override
	public String queryTransStatus(String orgTarnSeq, ControlData controlData, Map<String, TransBusiInfoPo> transBoMap) {
		return "S";
	}
	
	@GET
	@Path("test")
	public String test(){
		System.out.println("-----------------1001----------------------");
		return "test1001";
	}
}
*/